package com.inno.life.controller.convert;

import com.inno.life.controller.dto.MomentCommentDTO;
import com.inno.life.domain.entity.MomentCommentBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MomentCommentDTOConverter {
    MomentCommentDTOConverter INSTANCE = Mappers.getMapper(MomentCommentDTOConverter.class);

    MomentCommentBO convertDTOToBO(MomentCommentDTO momentCommentDTO);

    List<MomentCommentDTO> convertBOListToDTOList(List<MomentCommentBO> list);
}
